package edu.ynu.se.xiecheng.achitectureclass.dao.Impl;

import edu.ynu.se.xiecheng.achitectureclass.dao.ShopDao;
import edu.ynu.se.xiecheng.achitectureclass.entity.Item;
import edu.ynu.se.xiecheng.achitectureclass.entity.Shop;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.repository.query.FluentQuery;

import java.util.Collection;
import java.util.List;
import java.util.Optional;
import java.util.function.Function;

public class ShopDaoImpl implements ShopDao {
    @Override
    public void deleteById(Long aLong) {

    }

    @Override
    public void deleteAll() {

    }

    @Override
    public long count() {
        return 0;
    }

    @Override
    public List<Shop> findAll() {
        return null;
    }

    @Override
    public List<Shop> findAll(Sort sort) {
        return null;
    }

    @Override
    public Page<Shop> findAll(Pageable pageable) {
        return null;
    }

    @Override
    public List<Shop> findAllById(Iterable<Long> longs) {
        return null;
    }

    @Override
    public <S extends Shop> S save(S entity) {
        return null;
    }

    @Override
    public <S extends Shop> List<S> saveAll(Iterable<S> entities) {
        return null;
    }

    @Override
    public Optional<Shop> findById(Long aLong) {
        return Optional.empty();
    }

    @Override
    public boolean existsById(Long aLong) {
        return false;
    }

    @Override
    public void flush() {

    }

    @Override
    public <S extends Shop> S saveAndFlush(S entity) {
        return null;
    }

    @Override
    public <S extends Shop> List<S> saveAllAndFlush(Iterable<S> entities) {
        return null;
    }

    @Override
    public Shop getOne(Long aLong) {
        return null;
    }

    @Override
    public Shop getById(Long aLong) {
        return null;
    }

    @Override
    public Shop getReferenceById(Long aLong) {
        return null;
    }

    @Override
    public <S extends Shop> Optional<S> findOne(Example<S> example) {
        return Optional.empty();
    }

    @Override
    public <S extends Shop> List<S> findAll(Example<S> example) {
        return null;
    }

    @Override
    public <S extends Shop> List<S> findAll(Example<S> example, Sort sort) {
        return null;
    }

    @Override
    public <S extends Shop> Page<S> findAll(Example<S> example, Pageable pageable) {
        return null;
    }

    @Override
    public <S extends Shop> long count(Example<S> example) {
        return 0;
    }

    @Override
    public <S extends Shop> boolean exists(Example<S> example) {
        return false;
    }

    @Override
    public <S extends Shop, R> R findBy(Example<S> example, Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) {
        return null;
    }

    @Override
    public Collection<Item> getItems(Long shopId) {
        return null;
    }
}
